package com.newtype.meeting.client.model;

import java.io.Serializable;
import java.util.Date;

import javax.jdo.annotations.Extension;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

/**
 * 人员兼职实体类
 * @author 汪恭泽
 * Jul 5, 2011 3:14:43 PM
 */
@SuppressWarnings("serial")
@PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = "true")
public class Member implements Serializable {
	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	@Extension(vendorName = "datanucleus", key = "gae.encoded-pk", value = "true")
	private String id;
	@Persistent
	private String deptID;
	@Persistent
	private String accountID;
	@Persistent
	private Integer sortID;
	@Persistent
	private Integer signRight;
	@Persistent
	private String agentID;
	@Persistent
	private Date agentEnableTime;
	@Persistent
	private Date agentDisableTime;
	@Persistent
	private Integer degree;
	@Persistent
	private String title;

	public Member() {

	}

	public String getDeptID() {
		return deptID;
	}

	public void setDeptID(String deptID) {
		this.deptID = deptID;
	}

	public String getAccountID() {
		return accountID;
	}

	public void setAccountID(String accountID) {
		this.accountID = accountID;
	}

	public Integer getSortID() {
		return sortID;
	}

	public void setSortID(Integer sortID) {
		this.sortID = sortID;
	}

	public Integer getSignRight() {
		return signRight;
	}

	public void setSignRight(Integer signRight) {
		this.signRight = signRight;
	}

	public String getAgentID() {
		return agentID;
	}

	public void setAgentID(String agentID) {
		this.agentID = agentID;
	}

	public Date getAgentEnableTime() {
		return agentEnableTime;
	}

	public void setAgentEnableTime(Date agentEnableTime) {
		this.agentEnableTime = agentEnableTime;
	}

	public Date getAgentDisableTime() {
		return agentDisableTime;
	}

	public void setAgentDisableTime(Date agentDisableTime) {
		this.agentDisableTime = agentDisableTime;
	}

	public Integer getDegree() {
		return degree;
	}

	public void setDegree(Integer degree) {
		this.degree = degree;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getId() {
		return id;
	}

}
